from django import forms

from article.models import Comment


class CommentForm(forms.ModelForm):
    """
    评论扩展表单
    """
    class Meta:
        model = Comment
        fields = ('url_input', 'comment')
